package mcjunkin;
import java.io.*;

/**
	A MatchListener is capable of receiving notifications when the match
	algorithm finds a match. It must also be capable of handling remove
	events, which may occur if the match algorithm decides that a match
	is a subset of another match.
	
	Typically a MatchListener will be part of a user interface - and will
	actually display the matches to the person using the program.
*/

public interface MatchListener{

	/** Add a match between files with absolute path f1 and f2 */
	public abstract boolean addMatch(File f1, File f2);

	/** Remove match between files with absolute path f1 and f2 */
	public abstract boolean removeMatch(File f1, File f2);

}
